﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAL;
using Common;

public partial class Stock_Stock_View : System.Web.UI.Page
{
    protected int StockKey;
    protected Dat_Stock stock;

    protected string MenuType
    {
        get { return string.IsNullOrEmpty(Request["menutype"]) ? "" : Request["menutype"].ToString(); }
    }


    protected void Page_Load(object sender, EventArgs e)
    {
        StockKey = string.IsNullOrEmpty(Request["StockKey"]) ? 0 : Convert.ToInt32(Request["StockKey"]);

        if (!this.IsPostBack)
        {
            stock = new Stock().SelectStock(StockKey);
        }
    }
}
